﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.oracle
{
	// Token: 0x02000134 RID: 308
	public class TPlsqlContinue : TCustomSqlStatement
	{
		// Token: 0x170001C5 RID: 453
		// (get) Token: 0x060009EE RID: 2542 RVA: 0x003040D4 File Offset: 0x003022D4
		// (set) Token: 0x060009EF RID: 2543 RVA: 0x003040DC File Offset: 0x003022DC
		public virtual TObjectName LableName
		{
			get
			{
				return this.lableName;
			}
			set
			{
				this.lableName = value;
			}
		}

		// Token: 0x170001C6 RID: 454
		// (get) Token: 0x060009F0 RID: 2544 RVA: 0x003040E5 File Offset: 0x003022E5
		// (set) Token: 0x060009F1 RID: 2545 RVA: 0x003040ED File Offset: 0x003022ED
		public virtual TExpression Condition
		{
			get
			{
				return this.condition;
			}
			set
			{
				this.condition = value;
			}
		}

		// Token: 0x060009F2 RID: 2546 RVA: 0x003040F6 File Offset: 0x003022F6
		public TPlsqlContinue(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.ssstplsqlContinue;
		}

		// Token: 0x060009F3 RID: 2547 RVA: 0x0030410C File Offset: 0x0030230C
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			this.lableName = ((TContinueSqlNode)this.rootNode).LableName;
			this.condition = ((TContinueSqlNode)this.rootNode).Condition;
			return 0;
		}

		// Token: 0x060009F4 RID: 2548 RVA: 0x00304158 File Offset: 0x00302358
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060009F5 RID: 2549 RVA: 0x00304168 File Offset: 0x00302368
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001264 RID: 4708
		private TObjectName lableName;

		// Token: 0x04001265 RID: 4709
		private TExpression condition;
	}
}
